package com.moyu.common.security.exception;

import com.moyu.common.core.enums.ResultCode;
import lombok.Getter;

/**
 * 自定义异常类
 *
 * @Author 赵彦博
 * @Date 2024/12/20 17:46
 */
@Getter
public class ServiceException extends RuntimeException {

    private ResultCode resultCode;

    public ServiceException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }
}
